<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BrokenIRC: server_src/rfc_cmds1.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BrokenIRC
   &#160;<span id="projectnumber">0.0.42</span>
   </div>
   <div id="projectbrief">A &#39;not so functionnal&#39; irc server and a WIP client</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_20e5c1c74b8b955148e6b35ac4a0bc4d.html">server_src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">rfc_cmds1.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;unistd.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &quot;<a class="el" href="server_8h_source.html">../include/server.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for rfc_cmds1.c:</div>
<div class="dyncontent">
<div class="center"><img src="rfc__cmds1_8c__incl.png" border="0" usemap="#server__src_2rfc__cmds1_8c" alt=""/></div>
<map name="server__src_2rfc__cmds1_8c" id="server__src_2rfc__cmds1_8c">
<area shape="rect" id="node4" href="server_8h.html" title="../include/server.h" alt="" coords="187,80,313,107"/>
</map>
</div>
</div>
<p><a href="rfc__cmds1_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a67423079c85c9a88a611514cd9558865"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rfc__cmds1_8c.html#a67423079c85c9a88a611514cd9558865">get_full_msg</a> (char **args)</td></tr>
<tr class="separator:a67423079c85c9a88a611514cd9558865"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf538656f62d920ed911f41ea4a0f186"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rfc__cmds1_8c.html#aaf538656f62d920ed911f41ea4a0f186">broadcast_msg</a> (<a class="el" href="structt__channel.html">t_channel</a> *reqchan, char **message, int clifd)</td></tr>
<tr class="separator:aaf538656f62d920ed911f41ea4a0f186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5da766def7467ba7a3899fddbfcd278"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rfc__cmds1_8c.html#aa5da766def7467ba7a3899fddbfcd278">privmsg</a> (<a class="el" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a> args, int clifd, <a class="el" href="structt__channel.html">t_channel</a> *chans)</td></tr>
<tr class="separator:aa5da766def7467ba7a3899fddbfcd278"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>See </p>

<p class="definition">Definition in file <a class="el" href="rfc__cmds1_8c_source.html">rfc_cmds1.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="aaf538656f62d920ed911f41ea4a0f186"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf538656f62d920ed911f41ea4a0f186">&#9670;&nbsp;</a></span>broadcast_msg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* broadcast_msg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structt__channel.html">t_channel</a> *&#160;</td>
          <td class="paramname"><em>reqchan</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>clifd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="rfc__cmds1_8c_source.html#l00030">30</a> of file <a class="el" href="rfc__cmds1_8c_source.html">rfc_cmds1.c</a>.</p>

<p class="reference">References <a class="el" href="server_8h_source.html#l00117">t_userlist::next</a>, and <a class="el" href="server_8h_source.html#l00123">t_channel::users</a>.</p>

<p class="reference">Referenced by <a class="el" href="rfc__cmds1_8c_source.html#l00054">privmsg()</a>.</p>
<div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <a class="code" href="structt__userlist.html">t_userlist</a> *broadcast_list =  reqchan ? reqchan-&gt;<a class="code" href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">users</a> : NULL;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <span class="keywordflow">if</span> (broadcast_list)</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;                <span class="keywordflow">for</span> (<a class="code" href="structt__userlist.html">t_userlist</a> *tmp = broadcast_list; tmp; tmp = tmp-&gt;<a class="code" href="structt__userlist.html#a3b987a9a352379a703da737198b42d4a">next</a>) {</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                        <span class="keywordflow">if</span> (tmp-&gt;user-&gt;clifd != clifd) {</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                        dprintf(tmp-&gt;user-&gt;clifd, <span class="stringliteral">&quot;:%s PRIVMSG %s %s\r\n&quot;</span>,</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                        message[1], message[2], message[0]);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;                        }</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                }</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordflow">return</span> (NULL);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;}</div><div class="ttc" id="structt__userlist_html"><div class="ttname"><a href="structt__userlist.html">t_userlist</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00114">server.h:114</a></div></div>
<div class="ttc" id="structt__channel_html_a8097607fae5d78c98125bac6caaefe18"><div class="ttname"><a href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">t_channel::users</a></div><div class="ttdeci">t_userlist * users</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00123">server.h:123</a></div></div>
<div class="ttc" id="structt__userlist_html_a3b987a9a352379a703da737198b42d4a"><div class="ttname"><a href="structt__userlist.html#a3b987a9a352379a703da737198b42d4a">t_userlist::next</a></div><div class="ttdeci">struct s_userlist * next</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00117">server.h:117</a></div></div>
</div><!-- fragment --><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="rfc__cmds1_8c_aaf538656f62d920ed911f41ea4a0f186_icgraph.png" border="0" usemap="#rfc__cmds1_8c_aaf538656f62d920ed911f41ea4a0f186_icgraph" alt=""/></div>
<map name="rfc__cmds1_8c_aaf538656f62d920ed911f41ea4a0f186_icgraph" id="rfc__cmds1_8c_aaf538656f62d920ed911f41ea4a0f186_icgraph">
<area shape="rect" id="node2" href="server_8h.html#aa5da766def7467ba7a3899fddbfcd278" title="privmsg" alt="" coords="164,5,232,32"/>
</map>
</div>

</div>
</div>
<a id="a67423079c85c9a88a611514cd9558865"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a67423079c85c9a88a611514cd9558865">&#9670;&nbsp;</a></span>get_full_msg()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* get_full_msg </td>
          <td>(</td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Self explanatory </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">args</td><td>the splitted message </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the constructed string </dd></dl>
<dl class="section note"><dt>Note</dt><dd>missing check for buffer size, escape sequence, malicious message etc see RFC 2812 part 3.3.1 and how to check for bogus or malicious chars </dd></dl>

<p class="definition">Definition at line <a class="el" href="rfc__cmds1_8c_source.html#l00018">18</a> of file <a class="el" href="rfc__cmds1_8c_source.html">rfc_cmds1.c</a>.</p>

<p class="reference">References <a class="el" href="server_8h_source.html#l00024">BUF_SIZE</a>.</p>

<p class="reference">Referenced by <a class="el" href="rfc__cmds1_8c_source.html#l00054">privmsg()</a>.</p>
<div class="fragment"><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;        <span class="keywordtype">char</span> *msg = malloc(<a class="code" href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">BUF_SIZE</a>);</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;        memset(msg, 0, <a class="code" href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">BUF_SIZE</a>);</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 2; args[i]; ++i) {</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;                strcat(msg, args[i]);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;                strcat(msg, <span class="stringliteral">&quot; &quot;</span>);</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        }</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <span class="keywordflow">return</span> (msg);</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;}</div><div class="ttc" id="server_8h_html_a6821bafc3c88dfb2e433a095df9940c6"><div class="ttname"><a href="server_8h.html#a6821bafc3c88dfb2e433a095df9940c6">BUF_SIZE</a></div><div class="ttdeci">#define BUF_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00024">server.h:24</a></div></div>
</div><!-- fragment --><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="rfc__cmds1_8c_a67423079c85c9a88a611514cd9558865_icgraph.png" border="0" usemap="#rfc__cmds1_8c_a67423079c85c9a88a611514cd9558865_icgraph" alt=""/></div>
<map name="rfc__cmds1_8c_a67423079c85c9a88a611514cd9558865_icgraph" id="rfc__cmds1_8c_a67423079c85c9a88a611514cd9558865_icgraph">
<area shape="rect" id="node2" href="server_8h.html#aa5da766def7467ba7a3899fddbfcd278" title="privmsg" alt="" coords="149,5,217,32"/>
</map>
</div>

</div>
</div>
<a id="aa5da766def7467ba7a3899fddbfcd278"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5da766def7467ba7a3899fddbfcd278">&#9670;&nbsp;</a></span>privmsg()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* privmsg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="server_8h.html#acfbe918d8821ff3d1d8dc2c90bb8f6a2">cmdargs</a>&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>clifd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structt__channel.html">t_channel</a> *&#160;</td>
          <td class="paramname"><em>chans</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The PRIVMSG &lt;msgtarget&gt; &lt;message&gt; command </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">args</td><td>the PRIVMSG arguments, see above </td></tr>
    <tr><td class="paramname">clifd</td><td>the client file descriptor </td></tr>
    <tr><td class="paramname">chans</td><td>the main channel doubly linked list (updated if new channel) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>chans the head pointer of the channel list passed in params </dd></dl>
<dl class="section note"><dt>Note</dt><dd>as <a class="el" href="commands__parsing_8c.html#ad7cc037b9642ffd85e521546772eceae">get_args()</a> split by space we need to reconstruct the original message with the <a class="el" href="rfc__cmds1_8c.html#a67423079c85c9a88a611514cd9558865">get_full_msg()</a> method </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>for now, message can only be sent to a channel , missing the message a user function </dd></dl>

<p class="definition">Definition at line <a class="el" href="rfc__cmds1_8c_source.html#l00054">54</a> of file <a class="el" href="rfc__cmds1_8c_source.html">rfc_cmds1.c</a>.</p>

<p class="reference">References <a class="el" href="rfc__cmds1_8c_source.html#l00030">broadcast_msg()</a>, <a class="el" href="server_8h_source.html#l00106">t_user::clifd</a>, <a class="el" href="lists__helpers_8c_source.html#l00026">find_user_by_fd()</a>, <a class="el" href="lists__helpers_8c_source.html#l00072">find_user_by_name()</a>, <a class="el" href="lists__helpers_8c_source.html#l00044">get_chan_by_name()</a>, <a class="el" href="rfc__cmds1_8c_source.html#l00018">get_full_msg()</a>, <a class="el" href="server_8h_source.html#l00108">t_user::nick</a>, and <a class="el" href="server_8h_source.html#l00123">t_channel::users</a>.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;{</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <a class="code" href="structt__user.html">t_user</a> *from = <a class="code" href="lists__helpers_8c.html#a0195cd48a4c52a9624a811825cef8afb">find_user_by_fd</a>(chans-&gt;<a class="code" href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">users</a>, clifd);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <a class="code" href="structt__channel.html">t_channel</a> *reqchan = <a class="code" href="lists__helpers_8c.html#ae86be37e5d76544c9d6feb9d7b9b6b02">get_chan_by_name</a>(chans, args[1]);</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <a class="code" href="structt__user.html">t_user</a> *to = reqchan ? NULL : <a class="code" href="lists__helpers_8c.html#a7ebf668b9cfc31f3b29114dfed75c0ad">find_user_by_name</a>(args[1], chans-&gt;<a class="code" href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">users</a>);</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="keywordtype">char</span> *message[3] = { <a class="code" href="rfc__cmds1_8c.html#a67423079c85c9a88a611514cd9558865">get_full_msg</a>(args), from-&gt;<a class="code" href="structt__user.html#ae26ce5e41546b895d8d85f3cde41c096">nick</a>, args[1] };</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="keywordflow">if</span> (reqchan) {</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                <a class="code" href="rfc__cmds1_8c.html#aaf538656f62d920ed911f41ea4a0f186">broadcast_msg</a>(reqchan, message, clifd);</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (to) {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;                dprintf(to-&gt;<a class="code" href="structt__user.html#a29a8abb5e21ec4d86ce72c756b6b43e4">clifd</a>, <span class="stringliteral">&quot;:%s PRIVMSG %s %s\r\n&quot;</span>,</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;                        message[1], message[2], message[0]);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        }</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        free(message[0]);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="keywordflow">return</span> (chans);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;}</div><div class="ttc" id="rfc__cmds1_8c_html_a67423079c85c9a88a611514cd9558865"><div class="ttname"><a href="rfc__cmds1_8c.html#a67423079c85c9a88a611514cd9558865">get_full_msg</a></div><div class="ttdeci">static char * get_full_msg(char **args)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds1_8c_source.html#l00018">rfc_cmds1.c:18</a></div></div>
<div class="ttc" id="lists__helpers_8c_html_a0195cd48a4c52a9624a811825cef8afb"><div class="ttname"><a href="lists__helpers_8c.html#a0195cd48a4c52a9624a811825cef8afb">find_user_by_fd</a></div><div class="ttdeci">t_user * find_user_by_fd(t_userlist *list, int clifd)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00026">lists_helpers.c:26</a></div></div>
<div class="ttc" id="structt__channel_html_a8097607fae5d78c98125bac6caaefe18"><div class="ttname"><a href="structt__channel.html#a8097607fae5d78c98125bac6caaefe18">t_channel::users</a></div><div class="ttdeci">t_userlist * users</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00123">server.h:123</a></div></div>
<div class="ttc" id="structt__user_html"><div class="ttname"><a href="structt__user.html">t_user</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00105">server.h:105</a></div></div>
<div class="ttc" id="structt__channel_html"><div class="ttname"><a href="structt__channel.html">t_channel</a></div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00121">server.h:121</a></div></div>
<div class="ttc" id="lists__helpers_8c_html_ae86be37e5d76544c9d6feb9d7b9b6b02"><div class="ttname"><a href="lists__helpers_8c.html#ae86be37e5d76544c9d6feb9d7b9b6b02">get_chan_by_name</a></div><div class="ttdeci">t_channel * get_chan_by_name(t_channel *list, char *channame)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00044">lists_helpers.c:44</a></div></div>
<div class="ttc" id="rfc__cmds1_8c_html_aaf538656f62d920ed911f41ea4a0f186"><div class="ttname"><a href="rfc__cmds1_8c.html#aaf538656f62d920ed911f41ea4a0f186">broadcast_msg</a></div><div class="ttdeci">void * broadcast_msg(t_channel *reqchan, char **message, int clifd)</div><div class="ttdef"><b>Definition:</b> <a href="rfc__cmds1_8c_source.html#l00030">rfc_cmds1.c:30</a></div></div>
<div class="ttc" id="structt__user_html_a29a8abb5e21ec4d86ce72c756b6b43e4"><div class="ttname"><a href="structt__user.html#a29a8abb5e21ec4d86ce72c756b6b43e4">t_user::clifd</a></div><div class="ttdeci">int clifd</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00106">server.h:106</a></div></div>
<div class="ttc" id="lists__helpers_8c_html_a7ebf668b9cfc31f3b29114dfed75c0ad"><div class="ttname"><a href="lists__helpers_8c.html#a7ebf668b9cfc31f3b29114dfed75c0ad">find_user_by_name</a></div><div class="ttdeci">t_user * find_user_by_name(const char *name, t_userlist *usrs)</div><div class="ttdef"><b>Definition:</b> <a href="lists__helpers_8c_source.html#l00072">lists_helpers.c:72</a></div></div>
<div class="ttc" id="structt__user_html_ae26ce5e41546b895d8d85f3cde41c096"><div class="ttname"><a href="structt__user.html#ae26ce5e41546b895d8d85f3cde41c096">t_user::nick</a></div><div class="ttdeci">char * nick</div><div class="ttdef"><b>Definition:</b> <a href="server_8h_source.html#l00108">server.h:108</a></div></div>
</div><!-- fragment --><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="rfc__cmds1_8c_aa5da766def7467ba7a3899fddbfcd278_cgraph.png" border="0" usemap="#rfc__cmds1_8c_aa5da766def7467ba7a3899fddbfcd278_cgraph" alt=""/></div>
<map name="rfc__cmds1_8c_aa5da766def7467ba7a3899fddbfcd278_cgraph" id="rfc__cmds1_8c_aa5da766def7467ba7a3899fddbfcd278_cgraph">
<area shape="rect" id="node2" href="rfc__cmds1_8c.html#aaf538656f62d920ed911f41ea4a0f186" title="broadcast_msg" alt="" coords="133,5,244,32"/>
<area shape="rect" id="node3" href="lists__helpers_8c.html#a0195cd48a4c52a9624a811825cef8afb" title="find_user_by_fd" alt="" coords="131,56,246,83"/>
<area shape="rect" id="node4" href="lists__helpers_8c.html#a7ebf668b9cfc31f3b29114dfed75c0ad" title="find_user_by_name" alt="" coords="121,107,256,133"/>
<area shape="rect" id="node5" href="lists__helpers_8c.html#ae86be37e5d76544c9d6feb9d7b9b6b02" title="get_chan_by_name" alt="" coords="121,157,256,184"/>
<area shape="rect" id="node6" href="rfc__cmds1_8c.html#a67423079c85c9a88a611514cd9558865" title="get_full_msg" alt="" coords="141,208,237,235"/>
</map>
</div>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
